<?php
class Registration_ListController extends Zendvn_Controller_Action{
	
	public function init()
	{
		parent::init();		
		$this->view->main = FALSE;
		
	}
		
	public function indexAction(){
		
		$this->view->main = FALSE;
		
		$auth = new Registration_Model_Auth();
		
		$storage = new Zend_Auth_Storage_Session();
		$data = $storage->read();
		
		
		$page = 1;
		
		$pagesize = 10;
		
		$arr = array(				
			"page"=> $page,
			"pagesize"=> $pagesize,
			"userid"=> @$data->id,
																
		);
		
		$this->view->list_user = $auth->listItem($arr);
		
		
	}
}